package domain.page;

import domain.take_delivery.Promotion;

import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlSeeAlso;
import java.util.List;

/**
 * Created by Administrator on 2017/7/22/022.
 */
@XmlRootElement(name = "pageBean")
@XmlSeeAlso(Promotion.class)
public class PageBean<T> {

    private Long totalCount;//总分页数
    private List<T> pageData;//当前页数据

    public Long getTotalCount() {
        return totalCount;
    }

    public void setTotalCount(Long totalCount) {
        this.totalCount = totalCount;
    }

    public List<T> getPageData() {
        return pageData;
    }

    public void setPageData(List<T> pageData) {
        this.pageData = pageData;
    }
}
